package com.itheima.dao.impl;

import com.itheima.dao.StudentSet;
import com.itheima.pojo.Student;

public class StudentImpl implements StudentSet {
    private Student student;

    public void setStudent(Student student) {
        this.student = student;
    }

    @Override
    public void findAll() {
        System.out.println(student.getName() + " " + student.getId());
    }
}
